package cn.qqncn.furniture.pojo.vo;

import cn.qqncn.furniture.pojo.domain.Car;
import cn.qqncn.furniture.pojo.domain.Furniture;
import org.springframework.stereotype.Component;

/**
 * @author zkw
 * @ClassName CarVo.java
 * @Description TODO
 * @createTime 2020年12月22日 20:48:00
 */
@Component
public class CarVo extends Furniture {
    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 数量
     */
    private Integer number;

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    @Override
    public String toString() {
        return super.toString()+" CarVo{" +
                "userId=" + userId +
                ", number=" + number +
                '}';
    }
}
